package com.easy.bean;
import java.util.Date;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
@Data
@TableName("member")
public class Member {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    @TableField(value= "phone")
    private String phone;
    @TableField(value= "password")
    private String password;
    @TableField(value= "name")
    private String name;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @TableField(value= "create_time")
    private Date createTime;
}
